#pragma once
#include "e2d/core/pch.h"

namespace e2d
{
	struct  Settings
	{
		std::string m_AssertDir{ "./assert" };

		std::string m_IconDir{ "./assert/icon" };

		std::string m_PrefebDir{ "./assert/prefeb" };

		std::string m_ScriptDir{ "./assert/scripts" };

		std::string m_AssemblyTargetDll{"./assert/.assembly/assembly_editing.dll"};

		std::string m_CachePath{ ".e2dcache" };

		std::vector<std::string> m_ScriptTempDir {"./assert/.scripts" };
	
		void CreateDirs(const std::string& dir)
		{
			if (fs::exists(dir))
			{
				
			}
			else
			{
				fs::create_directories(dir);
			}
		}

		static Settings& Inst()
		{
			static Settings res;
			return res;
		}
	};
};